package com.jjvu.news.dao;

public class Info {
    private Integer info_id,maxid,minid,hits;
    private String title,adddate,author,content;
    private MaxMenu maxMenu;
    private MinMenu minMenu;
    public Integer getInfo_id() {
        return info_id;
    }

    public void setInfo_id(Integer info_id) {
        this.info_id = info_id;
    }

    public Integer getMaxid() {
        return maxid;
    }

    public void setMaxid(Integer maxid) {
        this.maxid = maxid;
    }

    public Integer getMinid() {
        return minid;
    }

    public void setMinid(Integer minid) {
        this.minid = minid;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAdddate() {
        return adddate;
    }

    public void setAdddate(String adddate) {
        this.adddate = adddate;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public MaxMenu getMaxMenu() {
        return maxMenu;
    }

    public void setMaxMenu(MaxMenu maxMenu) {
        this.maxMenu = maxMenu;
    }

    public MinMenu getMinMenu() {
        return minMenu;
    }

    public void setMinMenu(MinMenu minMenu) {
        this.minMenu = minMenu;
    }

    @Override
    public String toString() {
        return "Info{" +
                "info_id=" + info_id +
                ", maxid=" + maxid +
                ", minid=" + minid +
                ", hits=" + hits +
                ", title='" + title + '\'' +
                ", adddate='" + adddate + '\'' +
                ", author='" + author + '\'' +
                ", content='" + content + '\'' +
                ", maxMenu=" + maxMenu +
                ", minMenu=" + minMenu +
                '}';
    }
}
